<?php

class stockData{
	public $dateTime;
	public $close;
	public $volume;
	
	public function __construct($_dateTime, $_price, $_volume){
		$this->dateTime = $_dateTime;
		$this->close = $_price;
		$this->volume = $_volume;
	}
}

class stockDataEx extends stockData{
	public $open;
	public $low;
	public $high;
	
	public function __construct($_dateTime, $_open, $_close, $_low, $_high, $_volume){
		$this->dateTime = $_dateTime;
		$this->open = $_open;
		$this->close = $_close;
		$this->low = $_low;
		$this->high = $_high;
		$this->volume = $_volume;
	}
}

?>